<?php

namespace App\models;

use Illuminate\Database\Eloquent\Model;

class Sensitive extends Model
{
    protected $table = 'sensitive';

    //查询表中所有的敏感词
    public static function select()
    {
        return self::all()->pluck('name')->toArray();
    }
}
